/*
 * Created by LiuYou on 2020/11/26.
 *
 */

#ifndef EFFECTIVECPP_PCIMPL_HPP
#define EFFECTIVECPP_PCIMPL_HPP

//#include <string>

// TODO 如果是不同的类相互之间进行组合。那么如何降低编译的依赖性？还是根本就降低不了？因为
//  是需要定义式的。先采用导入头文件定义式的方式进行实践。
//#include "Pcfwd.hpp"
//class GraphicsCard;

#include "GraphicsCard.hpp"

class PcImpl {
public:
    PcImpl(int pcId, int lifeTime);

    PcImpl(int pcId, int lifeTime, const GraphicsCard& graphicsCard);

    int getPcId() const;

    int getLifeTime() const;

    const GraphicsCard& getGraphicsCard() const;

private:
    int pcId;
    int lifeTime;
//    std::string pcName;
//    int value;

private:
    GraphicsCard graphicsCard;

};


#endif //EFFECTIVECPP_PCIMPL_HPP
